package cn.edu.scau.dormitory_management_system.enums;


/**
 * @ClassName UserStatusEnum
 * @Description TODO
 * @Author wlf
 * @Date 2021/8/3 11:46
 * @Version 1.0
 **/
public enum  UserStatusEnum {
    YES(1, "登录成功"),

    ERROR_PASSWORD(0, "密码错误"),

    YES_PASSWORD(1,"密码正确"),

    NOT_EXIST(2, "用户不存在");

    private Integer status;

    private String desc;

    UserStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
